package com.codingman.mybatisdemo3;

import org.apache.ibatis.jdbc.SQL;

public class EmployeeSqlBuilder {
	public static String buildGetEmployeeById(final Integer id) {
		return new SQL() {
			{
				SELECT("*");
				FROM("employee");
				WHERE("id = #{id}");
			}
		}.toString();
	}
}
